package com.kingsoft.dc.khaos.module.spark.metadata.preprocess.transform

/**
  * create by yansu on 2020/03/25 10:56
  */
case class SplitInfo(split_config: List[Split_Config],
                     extract_fields: List[Extract_Fields])

case class Split_Config(split_field: Option[String] ,
                        split_mode: Option[String],
                        split_character: Option[String],
                        custom_character: Option[String],
                        split_length: Option[String],
                        split_after_fields: List[Split_After_Fields])

case class Split_After_Fields(field: String = "",
                              data_type: String = "",
                              length: String = "",
                              option: String = "")

case class Extract_Fields(field: String = "",
                          data_type: String = "",
                          length: String = "")